package woogieunit.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;


/**
 * Describes a method which should be run once before the execution  
 * of a targetted benchmark.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface BeforeBenchmark {
	/**
	 * The name (as returned by name()) of the targetted benchmark which this method should 
	 * be run before.
	 * @return
	 */
	String name();
}
